Lua/Shared/Transform2/Functions/Scale
From JC2-MP Documentation
< Lua | Shared | Transform2
| Returns | Transform2 |
|---|---|
| Prototype | Transform2:Scale(number scale) |
| Description | Scales the transform axes uniformly. |
| Returns | Transform2 |
|---|---|
| Prototype | Transform2:Scale(Vector2 scale) |
| Description | Scales the transform independently on each axis. |
Additional Notes
- These operations do not yield a new transform object, the returned object and the subject are the same.